/*
 * @(#)xin.tianhui.cloud.weblog.manager
 * @(#)ArticleMng.java	2018-04-07
 * 
 * Copyright © 2018-2027, All rights reserved.
 * homeanter
 */
package xin.tianhui.cloud.weblog.manager;


import java.util.List;

import xin.tianhui.cloud.weblog.core.model.dto.PagingDTO;
import xin.tianhui.cloud.weblog.core.model.vo.PagingVO;
import xin.tianhui.cloud.weblog.model.dto.ArticleResultDTO;
import xin.tianhui.cloud.weblog.model.dto.ArticleTypeResultDTO;
import xin.tianhui.cloud.weblog.model.dto.ArticleAlterDTO;
import xin.tianhui.cloud.weblog.model.dto.ArticleQueryDTO;

/**
 * <P>Description: 文章</P>
 * @ClassName: ArticleMng
 * @author junchen homeanter@163.com  
 * @date 2018-04-07 15:05:17
 * @see TODO
 */
public interface IArticleMng {
	/**
	 * 根据uid获取文章
	 * @param bid
	 * @return ArticleResultDTO
	 * @author junchen homeanter@163.com
	 * @Data 2018-04-09 10:55:34
	 */
	ArticleResultDTO getArticle(Integer bid);
	
	/**
	 * 分页查询
	 * @param paging
	 * @param queryDto
	 * @return PagingVO<ArticleResultDTO>
	 * @author junchen homeanter@163.com
	 * @Data 2018-04-09 20:56:07
	 */
	PagingVO<ArticleResultDTO> articlePaging(PagingDTO paging,ArticleQueryDTO queryDto);
	
	
	/**
	 * 文章类别
	 * @return List<ArticleTypeResultDTO>
	 * @author junchen homeanter@163.com
	 * @Data 2018-05-01 10:23:30
	 */
	List<ArticleTypeResultDTO> articleType();
	
	/**
	 * 文章修改
	 * @param articleAlter
	 * @return ArticleResultDTO
	 * @author junchen homeanter@163.com
	 * @Data 2018-05-01 18:35:22
	 */
	ArticleResultDTO alterArticle(ArticleAlterDTO articleAlter);
	
}
